@import url('timeline.css');

.fade {
    opacity: 0;
    transition: opacity .5s ease-out;
    -webkit-transition: opacity .5s ease-out;
    -moz-transition: opacity .5s ease-out;
}

.fade:hover{
    opacity: 1;
}

.clearfix:after {
    content: "";
    height: 0;
    display: block;
    visibility: hidden;
    clear: both;
}

.navbar-brand:hover {
    -webkit-transform: scale(1.2);
    -moz-transform: scale(1.2);
    -o-transform: scale(1.2);
    -ms-transform: scale(1.2);
    transform: scale(1.2);
}

.content {
    margin: 0 auto;
    margin-top: 5em;
    width: 85%;
}

.blog {
    list-style: none;
    width: 100%;
    margin-bottom: 2em;
    padding: 0 2em;
    border: 1px solid #ccc;
    border-radius: 1em;
    box-shadow: 1px 1px 10px #ccc;
}

.label {
    padding: .5em 1em;
    border-radius: .5em;
    margin-right: 1em;
}

.blog .ft {
    margin-bottom: 1em;
}


.pens {
    overflow: hidden;
    padding: 1em;
}

.pen {
    list-style: none;
    float: left;
    position: relative;
    width: 30%;
    height: 15em;
    margin-right: 5%;
    margin-top: 2em;
    box-shadow: 0 0 10px #000;
}

.pen:nth-child(3n) {
    margin-right: 0;
}

.pen iframe {
    width: 100%;
    height: 15em;
    overflow: hidden;
}

.pen .mask {
    display: block;
    position: absolute;
    padding: 5em;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, .6);
}

.hd .type {
    margin: 0;
    float: left;
}

.hd .dropdown {
    float: right;
}

a.title {
    display: block;
    text-align: center;
    font-size: 1.2em;
    font-weight: bold;
    color: #2ECC71;
}

a.source {
    position: absolute;
    top: 0;
    right: 0;
    padding: 0 .5em;
}

.cards {
    position: relative;
    width: 100%;
    height: 25em;
}

.card {
    list-style: none;
    position: absolute;
    width: 15em;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px #000;
    background-color: #ecf0f1;
    transition: all .5s ease-out;
    -webkit-transition: all .5s ease-out;
    -moz-transition: all .5s ease-out;
}

.card:hover, .card.active{
    box-shadow: 0 0 20px #1abc9c;
    z-index: 1000!important;
    transform: rotate(0) scale(1.5)!important;
    -webkit-transform: rotate(0) scale(1.5)!important;
    -moz-transform: rotate(0) scale(1.5)!important;
}

.card .title {
    display: block;
    padding: .5em;
}

.card .desc {
    padding: 1em;
}

.loading {
    display: none;
    position: fixed;
    width: 86px;
    height: 86px;
    left: 50%;
    top: 50%;
    margin-left: -86px;
    margin-top: -86px;
    background-image: url('../images/loading-ajax.gif');
    background-repeat: no-repeat;
}

.decks {
    overflow: hidden;
}

.deck {
    list-style: none;
    float: left;
    margin-bottom: 3em;
    margin-right: 10%;
    width: 40%;
    height: 400px;
}

.deck iframe {
    width: 100%;
    height: 100%;
}

.photo {
    width: 25%;
    padding: 0.5em;
}

.photo img {
    width: 100%;
}


/*
Back to top button
*/
#back-top {
    position: fixed;
    bottom: 30px;
    right: 20px;
}

#back-top a {
    width: 60px;
    height: 60px;
    display: block;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    text-decoration: none;
    border: 1px solid #16a085;
    background-color: #fff;
    border-radius: 10px;
    -webkit-transition: 1s;
    -moz-transition: 1s;
    transition: 1s;
}

#back-top a:hover {
    box-shadow: 0 0 10px #16a085;
}

#back-top i {
    margin-top: 10px;
    margin-left: -5px;
    font-size: 40px;
}
